﻿using MediatR;
using RedDragon.Common.Domain.Manufacture;
using RedDragon.Common.Dtos;
using T.Common.Domain.Common;

namespace RedDragon.ERP.API.Application.Commands.Resource
{
    public class QueryResourceCommand : IRequest<Result<PageResultDto<Resources>>>
    {
        /// <summary>
        /// 工作编码 (雪花id)
        /// </summary>
        public string? WorkCenterCode { get; set; }
        /// <summary>
        /// 当前第几页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 每页显示几条
        /// </summary>
        public int PageSize { get; set; }
    }
}
